import axios from '@/router/axios'

// 获取轮播图片
export function getCarouselList () {
  return axios.get('/api/carousel/1')
}

// 获取会展信息
export function getExhibition () {
  return axios.get('/api/exhibition')
}

// 获取好书推荐信息
export function getGoodBookShareData () {
  return axios.get('/api/getGoodBook/share')
}

// 获取新书广场信息
export function getNewBookData () {
  return axios.get('/api/getNewBook')
}

// 获取旧书部分书籍信息
export function getOldBookData () {
  return axios.get('/api/book/older')
}

// 获取旧书部分商店信息
export function getOldBookStoreData () {
  return axios.get('/api/store/older')
}

// 获取新书部分书籍信息
export function getNewlyBookData () {
  return axios.get('/api/book/newly')
}
// 获取旧书部分商店信息
export function getNewlyBookStoreData () {
  return axios.get('/api/store/newly')
}

// 获取旧书寻踪部分书籍信息
export function getTracingOldBookData () {
  return axios.get('/api/book/newly')
}
// 获取旧书寻踪部分商店信息
export function getTracingOldBookStoreData () {
  return axios.get('/api/store/newly')
}
